import { App } from 'vue'
import { Button, Skeleton, message, notification, ConfigProvider, DatePicker } from 'ant-design-vue'

const components = [Button, Skeleton, ConfigProvider, DatePicker]

export default {
  install: (app: App) => {
    components.forEach(component => app.use(component))
    app.config.globalProperties.$message = message
    app.config.globalProperties.$notification = notification
  }
}
